import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex);

const Store = {
	debug: true,
	state: {
		api: {
			newsListBackApi: "https://opentool.hexun.com/MongodbNewsService/getDGBackupNewsListByPid.jsp?pid=${id}&num=30",
			searchNewsListApi: "http://newssearch.hexun.com/m/newsjson?q=${keyword}&pg=${pgnum}",
			searchStockListApi: "http://so.hexun.com/mSiteData.do?type=stock&key=${keyword}&page=${pgnum}",
			commentListApi: "https://commenttool.hexun.com/Comment/GetComment.do?commentsource=3&articleid=${newsId}&articlesource=1&pagenum=${pgnum}&pagesize=3&uid=27436295",
			newsListApi: "https://m.hexun.com/api/getHotNews",
			newsDetailApi: "https://m.hexun.com/api/getNewsContent?id=${id}&date=${datetime}",
			userSignInApi: "https://regtool.hexun.com/wapreg/checklogin.aspx?format=json&encode=no",
			stockDataApi: "//webstock.quote.hermes.hexun.com/a/quotelist?code=${stocks}&column=id,code,name,price,updownrate,updown,datetime,priceweight"
		},
		defaultData: {
		    "status": 1,
		    "data": [
		        {
		            "newsUrl": "http://news.hexun.com/2018-12-24/195642266.html",
		            "newsSubtype": "1",
		            "item_modify_time": 1545607639,
		            "newsPicture": "http://i3.hexun.com/2018-12-24/195642256.jpg",
		            "mediaName": "新浪网",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195662328",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "牛弹琴：一封辞职信引发的血案！",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://p2p.hexun.com/2018-12-24/195641955.html",
		            "newsSubtype": "1",
		            "item_modify_time": 1545606182,
		            "newsPicture": "http://i8.hexun.com/2018-12-24/195641944.jpg",
		            "mediaName": "和讯名家",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195662329",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "刘强东出手了：京东杀入P2P！产品“秒光”，马云马化腾跟不跟？ ",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2018-12-20/195613460.html",
		            "newsSubtype": "1",
		            "item_modify_time": 1545311484,
		            "newsPicture": "http://i2.hexun.com/2018-12-20/195613457.jpg",
		            "mediaName": "和讯名家",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195662344",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "新规定出台，老百姓放在银行的钱要注意了！",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2016-01-22/181966555.html",
		            "newsSubtype": "1",
		            "item_modify_time": 1545028344,
		            "newsPicture": "http://i4.hexunimg.cn/2016-01-22/181966557.jpg",
		            "mediaName": "南方网",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521807",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "女子澡堂偷拍 组图：拍下裸体洗澡全过程女子澡堂偷拍",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2018-12-16/195566212.html",
		            "newsSubtype": "1",
		            "item_modify_time": 1544968399,
		            "newsPicture": "http://i8.hexun.com/2018-12-16/195566201.jpg",
		            "mediaName": "和讯名家",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195584756",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "一名加拿大移民的无知与谎言！",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2018-12-15/195554419.html",
		            "newsSubtype": "1",
		            "item_modify_time": 1544836419,
		            "newsPicture": "http://i6.hexun.com/2018-12-15/195554409.jpg",
		            "mediaName": "和讯名家",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195584867",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "孟晚舟事件，华为为何出奇的冷静与克制？解码华为的危机管理逻辑",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://house.hexun.com/2012-09-01/145381002.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1544793420,
		            "newsPicture": "http://i7.hexun.com/2018-12-12/195525454.jpg",
		            "mediaName": "365地产家居网",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521821",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "《一路向西》全裸剧照曝光 王李丹妮巨乳出镜|高清组图",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2013-07-16/156194970.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1544682818,
		            "newsPicture": "http://i7.hexun.com/2018-12-12/195525114.jpg",
		            "mediaName": "i黑马",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521809",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "上草榴的人爱用什么 App？",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2018-12-02/195396487.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1544591286,
		            "newsPicture": "http://i9.hexun.com/2018-12-20/195607536.jpg",
		            "mediaName": "格隆汇",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195585079",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "中美贸易救星：横空出世的芬太尼是什么东西？ ",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://xianhuo.hexun.com/2017-08-28/190608459.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1544489665,
		            "newsPicture": "http://i7.hexun.com/2018-12-18/195584791.jpg",
		            "mediaName": "环球外汇网",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195584784",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "现货投资到底是不是骗局？揭秘黑平台常用的几种骗局 ",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://tech.hexun.com/2018-09-24/194307713.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1537773459,
		            "newsPicture": "http://i1.hexun.com/2018-12-12/195525480.jpg",
		            "mediaName": "新浪网",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521861",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "刘强东性侵案女主：这是个陷阱 他强迫我发生性关系",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://bank.hexun.com/2008-09-11/108737331.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1502453700,
		            "newsPicture": "http://i0.hexun.com/2018-12-12/195525459.png",
		            "mediaName": "南方都市报",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521810",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "《少女之心》：70年代“黄色手抄本”的性启蒙(图)",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2013-05-27/154545478.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1495853838,
		            "newsPicture": "http://i2.hexun.com/2018-12-12/195525225.jpg",
		            "mediaName": "红网",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521825",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "[视频]AV女优西野翔晚娘续集露三点激情床戏",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2016-12-08/187250352.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1481158967,
		            "newsPicture": "http://i2.hexun.com/2018-12-12/195525498.jpg",
		            "mediaName": "和讯名家",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521847",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "\"裸贷\"衍生出\"肉偿\"色情产业链 是什么让女大学生变得越来越廉价？ ",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2013-11-25/159991091.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1480038540,
		            "newsPicture": "http://i8.hexun.com/2018-12-12/195525073.jpg",
		            "mediaName": "中国新闻网",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521832",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "港网站搞变态色情活动 女硕士为2000元做性奴",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://opinion.hexun.com/2016-11-04/186745311.html",
		            "newsSubtype": "1",
		            "item_modify_time": 1478224500,
		            "newsPicture": "http://i7.hexunimg.cn/2016-11-04/186745312.jpg",
		            "mediaName": "长江时评",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521852",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "18岁少女怀孕拍重口AV 利用生理优势当噱头",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2018-09-28/194407328.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1475017920,
		            "newsPicture": "http://i3.hexun.com/2018-12-18/195584919.jpg",
		            "mediaName": "IT时代周刊",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521857",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "子弹短信被网友举报：色情信息多、加陌生人好友后才能拉黑",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2014-08-31/168044796.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1472605336,
		            "newsPicture": "http://i4.hexun.com/2018-12-12/195524801.jpg",
		            "mediaName": "中央电视台",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521829",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "济南女大学生误上黑车被囚禁性侵案细节披露",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2016-05-04/183675412.html",
		            "newsSubtype": "1",
		            "item_modify_time": 1462326243,
		            "newsPicture": "http://i9.hexunimg.cn/2016-05-04/183675413.jpg",
		            "mediaName": "参考消息",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521833",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "印度发生恐怖奸杀案:女大学生被性侵后肝脏遭扯出",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://tech.hexun.com/2016-03-29/183015420.html",
		            "newsSubtype": "1",
		            "item_modify_time": 1459211779,
		            "newsPicture": "http://i1.hexunimg.cn/2016-03-29/183015421.jpg",
		            "mediaName": "虎嗅网",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521851",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "性爱机器人可能永远不会有 ",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://tech.hexun.com/2015-05-21/176013073.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1432171619,
		            "newsPicture": "http://i2.hexun.com/2018-12-12/195525558.jpg",
		            "mediaName": "虎嗅网",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521850",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "草榴关站风波：中国的色情恐慌症 ",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2014-12-03/171051478.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1417577580,
		            "newsPicture": "http://i3.hexun.com/2018-12-12/195524685.jpg",
		            "mediaName": "中国新闻网",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521840",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "Lady gaga自曝19岁时每天都遭性侵：很可怕",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2014-08-18/167628146.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1408342320,
		            "newsPicture": "http://i5.hexun.com/2018-12-13/195533127.jpg",
		            "mediaName": "法制晚报",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521837",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "陪领导赴宴后 女子遭暴力性侵致死",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2014-06-11/165588712.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1402451853,
		            "newsPicture": "http://i8.hexun.com/2018-12-12/195524895.jpg",
		            "mediaName": "新华网",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521858",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "央视揭秘偷拍女性裙底团伙：10分钟可卖千元",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://money.hexun.com/2014-02-12/162061416.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1392160277,
		            "newsPicture": "http://i4.hexun.com/2018-12-12/195524897.jpg",
		            "mediaName": "凤凰网",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521830",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "揭秘东莞色情之王梁耀辉的财富帝国(组图) ",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2013-12-04/160271801.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1386111660,
		            "newsPicture": "http://i5.hexun.com/2018-12-12/195524923.jpg",
		            "mediaName": "信息时报",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521869",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "夫妻50岁后性爱8个优势",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://lux.hexun.com/2013-10-31/159244609.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1383186342,
		            "newsPicture": "http://i6.hexun.com/2018-12-12/195525077.jpg",
		            "mediaName": "和讯奢侈品",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521870",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "性爱食谱 女人30岁吃啥增强性欲？ ",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://lux.hexun.com/2013-07-29/156596106.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1375110434,
		            "newsPicture": "http://i8.hexun.com/2018-12-12/195525101.jpg",
		            "mediaName": "Hers女性网",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521862",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "性爱百科 男性促高点的正确用法",
		            "username": ""
		        },
		        {
		            "newsUrl": "http://news.hexun.com/2013-07-26/156531979.html",
		            "newsSubtype": "0",
		            "item_modify_time": 1374839949,
		            "newsPicture": "http://i6.hexun.com/2018-12-12/195525104.jpg",
		            "mediaName": "红网",
		            "mp4": "",
		            "userid": "0",
		            "itemid": "c_195521824",
		            "picNum": "0",
		            "newsPics": "",
		            "m_mp4": "",
		            "commentNum": "0",
		            "title": "[视频]AV女优乳波臀浪狂轰滥炸 大举进军我国市场 我和我的小伙伴都惊呆了",
		            "username": ""
		        }
		    ]
		},
		ad:{
			headerAd: true,
			mainAd: true,
			channelMainAd: true,
			footerAd: true,
			detailTopAd: true,
			fullScreenAd: false,
			mallHomeAd: true,
			detailNewsListAd:[0, 5],
			channelNewsListAd:[5, 20, 30, 40],
			mainNewsListAd:[5, 20, 30, 40],
			swipeBanner: [{
				pic: "http://gw.alicdn.com/imgextra/i1/164/O1CN01lDZ09R1D59RisWvWq_!!164-0-lubanu.jpg_790x10000Q75.jpg_.webp",
				id: 0
			},{
				pic: "http://gw.alicdn.com/tps/i4/TB1ws9ZBgHqK1RjSZFESuwGMXXa.jpg_790x10000Q75.jpg_.webp",
				id: 1
			},{
				pic: "http://gw.alicdn.com/imgextra/i2/145/O1CN01BpQBUb1CwRv9R6a08_!!145-0-lubanu.jpg_790x10000Q75.jpg_.webp",
				id: 2
			}]
		},
		cartGoods:[],
		cartGoodsCount: 0,
		shops:[{
			shopid:0,
			pic: "http://img.alicdn.com/imgextra//83/aa/TB1TMsjjMHqK1RjSZFESuwGMXXa.jpg_120x120Q50s50.jpg_.webp",
			title: "淘宝心选",
			goodsids:[0]
		},{
			shopid:1,
			pic: "http://img.alicdn.com/imgextra//83/aa/TB1TMsjjMHqK1RjSZFESuwGMXXa.jpg_120x120Q50s50.jpg_.webp",
			title: "淘宝心选--A",
			goodsids:[0]
		}],
		goods:[{
			id: 0,
			cid: 0,
			shopid: 0,
			title: "电脑桌台式家用办公桌子简约现代写字桌学生学习桌简易经济型书桌",
			pic: "http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp",
			pics: ["http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","//img.alicdn.com/imgextra/i2/3294889394/TB2lN11j0fJ8KJjy0FeXXXKEXXa_!!3294889394.jpg_760x760Q90s50.jpg_.webp"],
			price: 80,
			originalPrice: 198,
			tags: "艾尚卓酷"
		},{
			id: 1,
			cid: 0,
			shopid: 0,
			title: "电脑桌台式家用办公桌子简约现代写字桌学生学习桌简易经济型书桌",
			pic: "http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp",
			pics: ["http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","//img.alicdn.com/imgextra/i2/3294889394/TB2lN11j0fJ8KJjy0FeXXXKEXXa_!!3294889394.jpg_760x760Q90s50.jpg_.webp"],
			price: 80,
			originalPrice: 198,
			tags: "艾尚卓酷"
		},{
			id: 2,
			cid: 1,
			shopid: 1,
			title: "电脑桌台式家用办公桌子简约现代写字桌学生学习桌简易经济型书桌",
			pic: "http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp",
			pics: ["http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","//img.alicdn.com/imgextra/i2/3294889394/TB2lN11j0fJ8KJjy0FeXXXKEXXa_!!3294889394.jpg_760x760Q90s50.jpg_.webp"],
			price: 80,
			originalPrice: 198,
			tags: "艾尚卓酷1"
		},{
			id: 3,
			cid: 0,
			shopid: 0,
			title: "电脑桌台式家用办公桌子简约现代写字桌学生学习桌简易经济型书桌",
			pic: "http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp",
			pics: ["http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","//img.alicdn.com/imgextra/i2/3294889394/TB2lN11j0fJ8KJjy0FeXXXKEXXa_!!3294889394.jpg_760x760Q90s50.jpg_.webp"],
			price: 80,
			originalPrice: 198,
			tags: "艾尚卓酷"
		},{
			id: 4,
			cid: 1,
			shopid: 1,
			title: "电脑桌台式家用办公桌子简约现代写字桌学生学习桌简易经济型书桌",
			pic: "http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp",
			pics: ["http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","//img.alicdn.com/imgextra/i2/3294889394/TB2lN11j0fJ8KJjy0FeXXXKEXXa_!!3294889394.jpg_760x760Q90s50.jpg_.webp"],
			price: 80,
			originalPrice: 198,
			tags: "艾尚卓酷1"
		},{
			id: 5,
			cid: 0,
			shopid: 0,
			title: "电脑桌台式家用办公桌子简约现代写字桌学生学习桌简易经济型书桌",
			pic: "http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp",
			pics: ["http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","//img.alicdn.com/imgextra/i2/3294889394/TB2lN11j0fJ8KJjy0FeXXXKEXXa_!!3294889394.jpg_760x760Q90s50.jpg_.webp"],
			price: 80,
			originalPrice: 198,
			tags: "艾尚卓酷"
		},{
			id: 6,
			cid: 0,
			shopid: 0,
			title: "电脑桌台式家用办公桌子简约现代写字桌学生学习桌简易经济型书桌",
			pic: "http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp",
			pics: ["http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","//img.alicdn.com/imgextra/i2/3294889394/TB2lN11j0fJ8KJjy0FeXXXKEXXa_!!3294889394.jpg_760x760Q90s50.jpg_.webp"],
			price: 80,
			originalPrice: 198,
			tags: "艾尚卓酷"
		},{
			id: 7,
			cid: 0,
			shopid: 0,
			title: "电脑桌台式家用办公桌子简约现代写字桌学生学习桌简易经济型书桌",
			pic: "http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp",
			pics: ["http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","http://img.alicdn.com/bao/uploaded/i8/TB1pvbeMVXXXXcaXFXXYXGcGpXX_M2.SS2_300x300q85s150.jpg_.webp","//img.alicdn.com/imgextra/i2/3294889394/TB2lN11j0fJ8KJjy0FeXXXKEXXa_!!3294889394.jpg_760x760Q90s50.jpg_.webp"],
			price: 80,
			originalPrice: 198,
			tags: "艾尚卓酷"
		}],
		channels: (searchKey) => [{
			title: "推荐",
			url: {
				name: "home"
			}
		}, {
			title: "独家",
			url: {
				name: "channel",
				params: {
					cid: 23,
					name: encodeURIComponent('独家')
				}
			}
		}, {
			title: "新闻",
			url: {
				name: "channel",
				params: {
					cid: 1,
					name: encodeURIComponent('新闻')
				}
			}
		}, {
			title: "股票",
			url: {
				name: "channel",
				params: {
					cid: 2,
					name: encodeURIComponent('股票')
				}
			}
		}, {
			title: "基金",
			url: {
				name: "channel",
				params: {
					cid: 3,
					name: encodeURIComponent('基金')
				}
			}
		}, {
			title: "黄金",
			url: {
				name: "channel",
				params: {
					cid: 4,
					name: encodeURIComponent('黄金')
				}
			}
		}, {
			title: "外汇",
			url: {
				name: "channel",
				params: {
					cid: 5,
					name: encodeURIComponent('外汇')
				}
			}
		}, {
			title: "科技",
			url: {
				name: "channel",
				params: {
					cid: 19,
					name: encodeURIComponent('科技')
				}
			}
		}, {
			title: "期货",
			url: {
				name: "channel",
				params: {
					cid: 6,
					name: encodeURIComponent('期货')
				}
			}
		}, {
			title: "房产",
			url: {
				name: "channel",
				params: {
					cid: 17,
					name: encodeURIComponent('房产')
				}
			}
		}, {
			title: "银行",
			url: {
				name: "channel",
				params: {
					cid: 10,
					name: encodeURIComponent('银行')
				}
			}
		}, {
			title: "保险",
			url: {
				name: "channel",
				params: {
					cid: 11,
					name: encodeURIComponent('保险')
				}
			}
		}, {
			title: "搜索",
			url: {
				name: "search",
				params: {
					key: searchKey
				}
			}
		}, {
			title: "测试",
			url: {
				name: "home"
			}
		}],
		user: {
			islogin: "True",
			loginStateCookie: "TsUKtjGoMHyySvC8fzNCtQ%3d%3d",
			nickname: "phonett4j2r5",
			photo: "http://logo3.tool.hexun.com/107a5a2-40.jpg",
			sex: "3",
			snapCookie: "TsUKtjGoMHyiRX%2bJuAsTgtgucxhJb4gjHSgACQkk41zRESdoK%2fNz3yIh3ZfDUvIYXFDFeDYExANG9UDLEqzI4FuOCPBM1mhS7Z9JyzcxY%2fWjf%2ba9maKmHQ%3d%3d",
			token: "27436295%7c0000%7c0%2cvFAd0xRFGTUlomUeZxb4%2bEC8iFdROCxqyhDPgl1czCRRdUw5KGzWVfC2HNCvJnIko3zJuhjl2%2b2tuqA2zjR7vl8318mFdPW%2bVcxCjqMu0eiMawZivk6wpMXcYNJCeZu%2fDMldpN6zGk9%2bA%2f1FT2wE0EwJQX0PVQjMWt%2bcmuNMT2kZO9sqxjFrwUnka7kCsmWpBA7Us8fFukF%2bk7uyQGaPzDQ30aosYFzK",
			userid: "27436295",
			username: "phonett4j2r5"
		},
		userConfig: {
			isTestChecked: false,
			isTest1Checked: false,
			isTest2Checked: false
		}
	},
	getter: {},
	mutations: {
		setUser: function(state, v) {
			extend(state.user, v);
		},
		setUserConfig: function(state, v) {
			extend(state.userConfig, v);
		},
		setAd: function(state, v){
			extend(state.ad, v);
		},
		setCartGoods: function(state, v){
			state.cartGoods = v;
		}
	},
	plugins: []
}

const store = new Vuex.Store(Store);

export default store;